package cn.lili.modules.goods.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.goods.client.CategoryClient;
import cn.lili.modules.goods.entity.dos.Category;
import cn.lili.modules.goods.entity.vos.CategoryBrandVO;
import cn.lili.modules.goods.entity.vos.CategoryVO;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-13 15:26
 * @description: 商品服务分类Fallback
 */
public class CategoryFallback implements CategoryClient {
    @Override
    public List<Category> firstCategory() {
        throw new ServiceException();
    }

    @Override
    public Category getById(String id) {
        throw new ServiceException();
    }

    @Override
    public List<Category> listByIdsOrderByLevel(List<String> asList) {
        throw new ServiceException();
    }

    @Override
    public List<Category> listByIds(List<String> asList) {
        throw new ServiceException();
    }

    @Override
    public Object getCategoryNameByIds(List<String> asList) {
        throw new ServiceException();
    }

    @Override
    public List<CategoryBrandVO> getCategoryBrandList(String categoryId) {
        throw new ServiceException();
    }

    @Override
    public List<CategoryVO> listAllChildren(String parentId) {
        throw new ServiceException();
    }
}
